﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Exentials.Xoox
{
    [Serializable]
    public class XException : Exception
    {
        public XException()
            : base()
        { }

        public XException(string message)
            : base(message)
        { }

        public XException(string message, Exception innerException)
            : base(message, innerException)
        { }

        protected XException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        { }

        public XException(string format, params object[] args)
            : base(string.Format(System.Globalization.CultureInfo.InvariantCulture, format, args))
        { }
    }
}
